public class Demo3 {
    public static void main(String[] args) {
        Thread t3 = new Thread(){
            @Override
            public void run() {
                System.out.println("线程创建成功");
            }
        };
        t3.start();
    }
}
